package com.situ.mall.oop;

import org.junit.jupiter.api.Test;

public class Demo {

    public static void main(String[] args) {
        String str = "java";
        foo(str);
        System.out.println(str);
    }

    //形参
    private static void foo(String text) {
        text = "windows";
    }

    @Test
    public void test1() {
        Person person1 = new Person();
        Person person2 = new Person();
    }
}
